package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsSupplier;
import com.cs.cssupplier.mapper.CsSupplierMapper;
import com.cs.cssupplier.service.CsSupplierService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author admin
* @description 针对表【cs_supplier(供应商表)】的数据库操作Service实现
* @createDate 2024-11-11 14:41:06
*/
@Service
public class CsSupplierServiceImpl implements CsSupplierService {
    @Resource
    private CsSupplierMapper mapper;

    @Override
    public List<CsSupplier> selectCsSupperList(CsSupplier csSupplier) {
        return mapper.selectCsSupperList(csSupplier);
    }

    @Override
    public List<CsSupplier> selectNoCsSupperList(CsSupplier csSupplier) {
        return mapper.selectNoCsSupperList(csSupplier);
    }

    @Override
    public List<CsSupplier> selectCsSupperBadList(CsSupplier csSupplier) {
        return mapper.selectCsSupperBadList(csSupplier);
    }

    @Override
    public CsSupplier selectCsSupplierByZrId(Long zr_id) {
        return mapper.selectCsSupplierByZrId(zr_id);
    }

    @Override
    public CsSupplier selectSupplierHid(Long hid) {
        return mapper.selectSupplierHid(hid);
    }

    @Override
    public List<CsSupplier> selectCsSupplier() {
        return mapper.selectCsSupplier();
    }

    @Override
    public int insertSupplier(CsSupplier csSupplier) {
        return mapper.insertSupplier(csSupplier);
    }

    @Override
    public int updateSupplier(CsSupplier csSupplier) {
        return mapper.updateSupplier(csSupplier);
    }

    @Override
    public int deleteSupplier(Long hid) {
        return mapper.deleteSupplier(hid);
    }

    @Override
    public int deleteListSupplier(Long[] hids) {
        return mapper.deleteListSupplier(hids);
    }
}




